package com.naiterui.ehp.bp.bo.inquiry;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 视频问诊消息体
 * @author gaoliangliang
 * @date 2019-07-12 17:25
 * @since 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MsgBody {

    @ApiModelProperty("医生id")
    private Long doctorId;
    @ApiModelProperty("患者id")
    private Long patientId;
    @ApiModelProperty("就诊人id")
    private Long inquirerId;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("类型 1.文本 2.图片")
    private Integer msgType;
    @ApiModelProperty("路径")
    private String path;

    /**
     * 消息发送类型
     */
    public static class MsgType {
        public static final int TEXT = 1;
        public static final int IMAGE = 2;
    }
}
